package com.itheima.demo.demo9;

import java.io.File;
import java.io.IOException;

public class Creat {
    public static void main(String[] args) {
        File file=new File("D:\\day01\\试炼.txt");

        try {
            boolean newFile = file.createNewFile();
            System.out.println(newFile);
        } catch (IOException e) {
            e.printStackTrace();
        }


    }
}